﻿/*
	Author : Zeus2
*/

using System;
using System.Collections.Generic;
using System.Text;

namespace HZ.DrugTrade.Model
{
    /// <summary>
    /// 实体类
    /// </summary>
    [Serializable()]
    [HZ.Table(TableName = "TB_WARNING")]
    public class Warning
    {
        /// <summary>
        /// 机构ID
        /// </summary>
        [HZ.Column(PrimaryKey = true)]
        public string OrgID { get; set; }
        /// <summary>
        /// 预警类型(0建单未提交1提交未确认2确认未配送3配送未验收4入库未开票5开票未回款6回款未确认)
        /// </summary>
        [HZ.Column(PrimaryKey = true)]
        public int? WarningType { get; set; }
        /// <summary>
        /// 预警期限(单位:天)
        /// </summary>
        public int? WarningTime { get; set; }
        /// <summary>
        /// 机构类型：0医疗机构 1企业
        /// </summary>
        public int? OrgType { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool? IsUsing { get; set; }

    }
}